package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.math.BigDecimal;

/**
 * VoyageShipInfo
 */
@Data
@TableName("voyage_ship_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "VoyageShipInfo对象", description = "船舶信息")
public class VoyageShipInfo extends BaseEntity {

    /** 比重粉 */
    @ApiModelProperty(value = "比重粉")
    private String proportionPowder;
    
    /** 比重块 */
    @ApiModelProperty(value = "比重块")
    private String proportionPiece;
    
    /** 水尺F */
    @ApiModelProperty(value = "水尺F")
    private String staffGaugeF;
    
    /** 水尺M */
    @ApiModelProperty(value = "水尺M")
    private String staffGaugeM;
    
    /** 水尺A */
    @ApiModelProperty(value = "水尺A")
    private String staffGaugeA;
    
    /** 完成船舱 */
    @ApiModelProperty(value = "完成船舱")
    private String finishCabin;
    
    /** 总吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "总吨")
    private BigDecimal totalTon;
    
    /** 作业吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "作业吨")
    private BigDecimal workedTon;
    
    /** 作业中舱 */
    @ApiModelProperty(value = "作业中舱")
    private String workingCabin;
    
    /** 票数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "票数")
    private Integer billCount;
    
    /** 收齐数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "收齐数")
    private Integer gatherBillCount;
    
    /** 收齐吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "收齐吨")
    private BigDecimal gatherTon;
    
    /** 破头数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "破头数")
    private Integer startedBillCount;
    
    /** 破头吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "破头吨")
    private BigDecimal startedTon;
    
    /** 退关数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "退关数")
    private Integer shutOutBillCount;
    
    /** 退关吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "退关吨")
    private BigDecimal shutOutTon;
    
    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;
    
    /** 航次ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;

    /** 水尺F */
    @ApiModelProperty(value = "完工水尺F")
    private String finishGaugeF;

    /** 水尺A */
    @ApiModelProperty(value = "完工水尺A")
    private String finishGaugeA;
    
}